package com.ruoyi.store.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工资条对象 t_payslip
 * 
 * @author ruoyi
 * @date 2023-05-02
 */
public class Payslip extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 年 */
    @Excel(name = "年")
    private String year;

    /** 月 */
    @Excel(name = "月")
    private String month;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 现金 */
    @Excel(name = "现金")
    private BigDecimal cash;

    /** 充值 */
    @Excel(name = "充值")
    private BigDecimal recharge;

    /** 加班 */
    @Excel(name = "加班")
    private BigDecimal workMore;

    /** 会员 */
    @Excel(name = "会员扣")
    private BigDecimal member;

    /** 会员加班 */
    @Excel(name = "加班会扣")
    private BigDecimal memberMore;

    /** 总业绩 */
    @Excel(name = "总业绩")
    private BigDecimal totalMoney;

    /** 总收入 */
    @Excel(name = "总收入")
    private BigDecimal totalGet;

    /** 基本工资 */
    @Excel(name = "基本工资")
    private BigDecimal basicSalary;

    /** 奖金 */
    @Excel(name = "奖金")
    private BigDecimal reward;

    /** 其他 */
    @Excel(name = "其他")
    private BigDecimal other;

    /** 工资 */
    @Excel(name = "工资")
    private BigDecimal wages;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setCash(BigDecimal cash) 
    {
        this.cash = cash;
    }

    public BigDecimal getCash() 
    {
        return cash;
    }
    public void setRecharge(BigDecimal recharge) 
    {
        this.recharge = recharge;
    }

    public BigDecimal getRecharge() 
    {
        return recharge;
    }
    public void setWorkMore(BigDecimal workMore) 
    {
        this.workMore = workMore;
    }

    public BigDecimal getWorkMore() 
    {
        return workMore;
    }
    public void setMember(BigDecimal member) 
    {
        this.member = member;
    }

    public BigDecimal getMember() 
    {
        return member;
    }
    public void setMemberMore(BigDecimal memberMore) 
    {
        this.memberMore = memberMore;
    }

    public BigDecimal getMemberMore() 
    {
        return memberMore;
    }
    public void setTotalMoney(BigDecimal totalMoney) 
    {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getTotalMoney() 
    {
        return totalMoney;
    }
    public void setTotalGet(BigDecimal totalGet) 
    {
        this.totalGet = totalGet;
    }

    public BigDecimal getTotalGet() 
    {
        return totalGet;
    }
    public void setBasicSalary(BigDecimal basicSalary) 
    {
        this.basicSalary = basicSalary;
    }

    public BigDecimal getBasicSalary() 
    {
        return basicSalary;
    }
    public void setReward(BigDecimal reward) 
    {
        this.reward = reward;
    }

    public BigDecimal getReward() 
    {
        return reward;
    }
    public void setOther(BigDecimal other) 
    {
        this.other = other;
    }

    public BigDecimal getOther() 
    {
        return other;
    }
    public void setWages(BigDecimal wages) 
    {
        this.wages = wages;
    }

    public BigDecimal getWages() 
    {
        return wages;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("cash", getCash())
            .append("recharge", getRecharge())
            .append("workMore", getWorkMore())
            .append("member", getMember())
            .append("memberMore", getMemberMore())
            .append("totalMoney", getTotalMoney())
            .append("totalGet", getTotalGet())
            .append("basicSalary", getBasicSalary())
            .append("reward", getReward())
            .append("other", getOther())
            .append("wages", getWages())
            .toString();
    }
}
